package com.pyip.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pyip.reggie.Entity.Setmeal;
import com.pyip.reggie.common.R;
import com.pyip.reggie.dto.SetmealDto;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    R<String> saveSetMealWithSetMealDish(SetmealDto setmealDto);

    R<Page<SetmealDto>> getPage(Long page, Long pageSize, String name);

    R<String> deleteSetMealAndDishByIds(List<Long> ids);

    R<List<Setmeal>> getList(Setmeal setmeal);
}
